package com.xc.tjise.TJISE.day05;

public class PrimitiveTest {
    public static void main(String[] args) {

     /*   Boolean aBoolean=new Boolean("true");//--> boolean
        System.out.println(aBoolean);*/
    /*  Byte aByte;       //-->byte
    Character character;  //-->char
    Short aShort;         //-->short
    Long aLong;
    Float aFloat;
    Double aDouble;
*/
    Integer integer=new Integer("12345");
        System.out.println(integer);

        //实际应用： 类型转换
        //将int 转化为String
        int i=123;
        String s=new Integer(i).toString();
        System.out.println(s+"..");
        System.out.println(String.valueOf(i)+"...");

        //将 String转化为int
        String st="456";
        int j=Integer.parseInt(st);





}

}
